It uses a classic algorithm found in every compiler book . if you are unfamiliar with the topic , i recommend compiler construction 它使用一種典型的算法,這種算法可以在每本編譯器書籍中找到。
Compiler construction is an area of computer science that deals with the theory and practice of developing programming languages and their associated compilers.